<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>

<div>卡号<span th:text="${session.user.cardNo}"></span>
    <a th:href="@{/info/logout}">退出登录</a>
</div>

<div style="float: left">


    <ul>
        <li>
            <a th:href="@{/info/tobalance}">查询余额</a>
        </li>
        <li>
            <a th:href="@{/info/totransfer}">转账</a>
        </li>
        <li>
            <a th:href="@{/info/torecord}">查询交易记录</a>
        </li>
        <li>
            <a th:href="@{/info/toupdatePwd}">修改密码</a>
        </li>


    </ul>
</div>

<div style="float: left;width: 300px;height: 400px;border: 3px solid red" >
   <div align="center">
       <h1>当前操作：转账</h1>
       <form action="/info/transfer" method="post">

           转入账号<input name="cardNo2"><br/>
           转账金额<input name="balance" type="number"><br/>
           <input type="submit" value="转账"/>

       </form>
   </div>
</div>
</body>
</html>